<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-heading"><h4>新增YunXin客户端</h4></div>
            <div class="panel-body">
                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
                	 <div class="form-group">
                    		<label class="col-sm-3 control-label" for="descs">accid:</label>
                    		<div class="col-sm-6">
                    			<input type="text" class="form-control" readonly="readonly" name="accid" id="accid" data-minlength="6" />
                    		</div>
                     </div>
                    <!--<div class="form-group">
                    	<label class="col-sm-3 control-label">有效期开始:</label>
                    	<div class="col-sm-6">
                    	<input type="text" class="form-control datepicker" name="start_date" id="start_date"/>
                    	</div>
                    </div>
                     <div class="form-group">
                    	<label class="col-sm-3 control-label">有效期结束:</label>
                    	<div class="col-sm-6">
                    	<input type="text" class="form-control datepicker"  name="end_date" id="end_date"  />
                    	</div>
                    </div>
                    <div class="form-group">
                    	<label class="col-sm-3 control-label">状态:</label>
                    	<div class="col-sm-6">
                    		<select class="form-control" name="status">
                    			<option value="0">冻结</option>
                    			<option value="1">激活</option>
                    		</select>
                    	</div>
                    </div>
                    -->
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" for="descs">描述:</label>
                    		<div class="col-sm-6">
                    			<textarea class="form-control" name="descs" id="descs"></textarea>
                    		</div>
                    </div>
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" for="descs">闸机编号:</label>
                    		<div class="col-sm-6">
                    			<input type="text" class="form-control" name="brakemachine_no" id="brakemachine_no" />
                    		</div>
                    </div>
                    <div class="form-group">
                    	<label class="col-sm-3 control-label">归属店铺:</label>
                    	<div class="col-sm-6">
                    		<select class="form-control" name="shop_id" id="shop_id">
                    			{foreach name="shops" item="v"}
                    			 	<option value="{$v.id}" data-code="{$v.shop_code}">{$v.shop_name}</option>
                    			{/foreach}
                    		</select>
                    	</div>
                    </div>
                </form>
            </div>
            <div class="panel-footer">
                <div class="row">
                    <div class="col-sm-6 col-sm-offset-3">
                        <div class="btn-toolbar">
                            <button class="btn-primary btn" id="form-submit">提交</button>
                            <button class="btn-default btn" data-dismiss="modal">关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}yun_xin/add.js'></script>